package com.avic.rong.listener;

import android.content.Context;
import android.view.View;

import com.avic.rong.utils.DateUtils;

import java.lang.ref.WeakReference;

/**
 * Creater: Created by wangyz on 2017/3/21.
 * Email: 936804097@qq.com
 */

public class ContentItemOnClickListener implements View.OnClickListener {


    WeakReference<Context> context;
    String url;

    public ContentItemOnClickListener(Context context, String url) {
        this.context = new WeakReference<>(context);
        this.url = url;
    }

    @Override
    public void onClick(View view) {
        if (DateUtils.isFastDoubleClick()) {
            return;
        }
//        context.get().startActivity(ContentDetailActivity.queryIntent(context.get(),url));
    }


}


